package cn.stylefeng.guns.modular.business.service;


import cn.stylefeng.guns.base.pojo.node.TreeviewNode;
import cn.stylefeng.guns.base.pojo.node.ZTreeNode;
import cn.stylefeng.guns.modular.business.entity.Category;
import cn.stylefeng.guns.modular.business.model.result.CategoryFrontResultView;
import cn.stylefeng.guns.modular.business.model.result.CategoryResultView;
import cn.stylefeng.guns.modular.business.model.result.CategoryTypeView;
import cn.stylefeng.guns.modular.business.model.result.IndexResult;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;


public interface IndexService extends IService<Category> {

    /**
     * 获取首页数据
     * @return
     */
    IndexResult getIndexData();

    /**
     * 获取所有的卡类类型列表
     * @return
     */
    List<CategoryResultView> getAllCardList(String categoryId);

    /**
     * 获取分类下的面值
     * @return
     */
    List<CategoryFrontResultView> getAllCardListAndQuota(String categoryId);
}
